A case study of the task-based parallel wavefront pattern
نویسندگان
چکیده
This paper analyzes the applicability of the task programming model in the parallelization of the wavefront pattern. Computations on this type of problem are characterized by a data dependency pattern across a data space, which can produce a variable number of independent tasks through the traversal of such a space. We explore several implementations of this pattern, based on the current state-of-the-art threading libraries that support tasks. For each implementation, we discuss the particularities from a programmers point of view, highlighting the advantageous features in each case. We conduct several experiments to identify the factors that can limit the performance in each implementation. Moreover, we propose and evaluate some optimizations (task recycling, prioritization of tasks based on locality hints and tiling) that the programmer can exploit to reduce the overhead in some cases.
منابع مشابه
Use of a Two-Channel Moiré Wavefront Sensor for Measuring Topological Charge Sign of the Vortex Beam and Investigation of Its Change Due to an Odd Number of Reflections
One of the solutions of the Helmholtz equation is the vortex beams. In the recent decades, production and applications of these types of beams have found serious attentions. Determination of the vortex beam topological charge and its sign are very important issues. Odd number of reflections of the vortex beam changes its vorticity. In this paper, we have used a q-plate to generate a vortex beam...
متن کاملGreen Energy-aware task scheduling using the DVFS technique in Cloud Computing
Nowdays, energy consumption as a critical issue in distributed computing systems with high performance has become so green computing tries to energy consumption, carbon footprint and CO2 emissions in high performance computing systems (HPCs) such as clusters, Grid and Cloud that a large number of parallel. Reducing energy consumption for high end computing can bring various benefits such as red...
متن کاملTHE EFFECT OF THE PARALLEL PROCESS PATTERN DEVELOPED ON COMPLIANCE WITH THE DIET OF DIABETIC ADOLESCENTS IN GOLESTAN PROVINCE IN 2019
Background & Aims: Diabetes is an increasingly important health concern and causes serious complications. Most adolescents struggle with blood sugar changes due to the growing conditions of puberty and reduced adherence to treatment. Meanwhile, one of the problems of the health system is not following treatment among adolescents which is affected by social factors. Considering that training bas...
متن کاملStatic Task Allocation in Distributed Systems Using Parallel Genetic Algorithm
Over the past two decades, PC speeds have increased from a few instructions per second to several million instructions per second. The tremendous speed of today's networks as well as the increasing need for high-performance systems has made researchers interested in parallel and distributed computing. The rapid growth of distributed systems has led to a variety of problems. Task allocation is a...
متن کاملGenerating Parallel Programs from the Wavefront Design Pattern
Object-oriented programming, design patterns, and frameworks are common techniques that have been used to reduce the complexity of sequential programming. We have applied these techniques to the more difficult domain of parallel programming. This paper describes CO2P3S, a pattern-based parallel programming system that generates parallel programs from parallel design patterns. We demonstrate CO2...
متن کامل